package com.woniu.outpatient.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药品类型表对象 drugtype
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Drugtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long drugtypeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String drugtypeName;

    public void setDrugtypeId(Long drugtypeId) 
    {
        this.drugtypeId = drugtypeId;
    }

    public Long getDrugtypeId() 
    {
        return drugtypeId;
    }
    public void setDrugtypeName(String drugtypeName) 
    {
        this.drugtypeName = drugtypeName;
    }

    public String getDrugtypeName() 
    {
        return drugtypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugtypeId", getDrugtypeId())
            .append("drugtypeName", getDrugtypeName())
            .toString();
    }
}
